package com.yuke.cloud.service.pmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.pmc.dto.ProdCategoryClassDto;
import com.yuke.cloud.service.pmc.entity.ProdClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProdClassMapper extends MyMapper<ProdClass> {
    List<ProdCategoryClassDto> getBindClassByCategoryId(Long categoryId);
    List<ProdClass> findClassSubCategory(@Param("categoryId") Long categoryId, @Param("tag") String tag);
}